\hypertarget{class_a_v_i1_file}{
\section{AVI1File Class Reference}
\label{class_a_v_i1_file}\index{AVI1File@{AVI1File}}
}


{\ttfamily \#include $<$avi.h$>$}Inheritance diagram for AVI1File::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3cm]{class_a_v_i1_file}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{class_a_v_i1_file_a10a9e391cfe38e75273b05af17ec8a54}{Init} (int format, int sampleFrequency, int indexType)
\item 
\hypertarget{class_a_v_i1_file_a1973b012fdce7c340bf86398ed4c7b3b}{
virtual bool {\bfseries WriteFrame} (\hyperlink{class_frame}{Frame} $\ast$frame)}
\label{class_a_v_i1_file_a1973b012fdce7c340bf86398ed4c7b3b}

\item 
virtual void \hyperlink{class_a_v_i1_file_aa3e7af24cda26969bf12737f2af5ab3e}{WriteRIFF} (void)
\item 
\hypertarget{class_a_v_i1_file_a311aa91606ac1d48e9c9e23c28152c05}{
virtual void {\bfseries setDVINFO} (DVINFO \&)}
\label{class_a_v_i1_file_a311aa91606ac1d48e9c9e23c28152c05}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
writing Type 1 DV AVIs 

\subsection{Member Function Documentation}
\hypertarget{class_a_v_i1_file_a10a9e391cfe38e75273b05af17ec8a54}{
\index{AVI1File@{AVI1File}!Init@{Init}}
\index{Init@{Init}!AVI1File@{AVI1File}}
\subsubsection[{Init}]{\setlength{\rightskip}{0pt plus 5cm}void AVI1File::Init (int {\em format}, \/  int {\em sampleFrequency}, \/  int {\em indexType})\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_a_v_i1_file_a10a9e391cfe38e75273b05af17ec8a54}
Initialize the AVI structure to its initial state, either for PAL or NTSC format

Initialize the \hyperlink{class_a_v_i_file}{AVIFile} attributes: mainHdr, indx, ix00, idx1

\begin{Desc}
\item[\hyperlink{todo__todo000003}{Todo}]consolidate \hyperlink{class_a_v_i_file_ae3cf3009dfda33f25eaef7eed374c18c}{AVIFile::Init}, \hyperlink{class_a_v_i1_file_a10a9e391cfe38e75273b05af17ec8a54}{AVI1File::Init}, \hyperlink{class_a_v_i2_file_a2bcacacbf565fddffa27bd8be90aa62c}{AVI2File::Init}. They are somewhat redundant. \end{Desc}

\begin{DoxyParams}{Parameters}
\item[{\em format}]pass AVI\_\-PAL or AVI\_\-NTSC \item[{\em sampleFrequency}]the sample frequency of the audio content \item[{\em indexType}]pass AVI\_\-SMALL\_\-INDEX or AVI\_\-LARGE\_\-INDEX \end{DoxyParams}


Reimplemented from \hyperlink{class_a_v_i_file_ae3cf3009dfda33f25eaef7eed374c18c}{AVIFile}.\hypertarget{class_a_v_i1_file_aa3e7af24cda26969bf12737f2af5ab3e}{
\index{AVI1File@{AVI1File}!WriteRIFF@{WriteRIFF}}
\index{WriteRIFF@{WriteRIFF}!AVI1File@{AVI1File}}
\subsubsection[{WriteRIFF}]{\setlength{\rightskip}{0pt plus 5cm}void AVI1File::WriteRIFF (void)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_a_v_i1_file_aa3e7af24cda26969bf12737f2af5ab3e}
Writes out the directory structure

For all items in the directory list that have not been written yet, it seeks to the file position where that item should be stored and writes the type and length field. If the item has a name, it will also write the name field.

\begin{DoxyNote}{Note}
It does not write the contents of any item. Use WriteChunk to do that. 
\end{DoxyNote}


Reimplemented from \hyperlink{class_a_v_i_file_a543c702c53cd565c31c32375941957ad}{AVIFile}.

The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
C:/Users/Matt/Documents/School/Robotics/zebulon/v2/cv/ext/dvgrab/\hyperlink{avi_8h}{avi.h}\item 
C:/Users/Matt/Documents/School/Robotics/zebulon/v2/cv/ext/dvgrab/avi.cc\end{DoxyCompactItemize}
